package org.dreamwork.jasmine2.web.controls.chart;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2010-5-12
 * Time: 10:14:56
 */
public class ChartContext {
    private Map<String, Object> parameters = new HashMap<String, Object> ();

    public void addParameter (String name, Object value) {
        parameters.put (name, value);
    }

    public Object getParameter (String name) {
        return parameters.get (name);
    }

    public Set<String> getKeySet () {
        return parameters.keySet ();
    }
}